﻿Public Class PropertyBE

#Region "<< -Attributes- >>"
    Private _Id As Integer? = Nothing
    Private _OwnerId As Integer? = Nothing
    Private _Name As String = String.Empty
    Private _AccountCloseMotive As String = String.Empty
    Private _EndDate As Date? = Nothing
    Private _Description As String = String.Empty
    Private _Status As PropertyStatusBE = Nothing
    Private _Type As PropertyTypeBE = Nothing
    Private _Direction As String = String.Empty
    Private _City As CityBE = Nothing
    Private _Province As ProvinceBE = Nothing
    Private _Country As CountryBE = Nothing
    Private _Observations As String = String.Empty
    Private _IdContract As Integer? = Nothing
    Private _SecundaryImages As List(Of ImagesPerPropertyBE) = Nothing
    Private _MainImage As String = String.Empty
    Private _Services As List(Of ServicesBE) = Nothing
#End Region

#Region "<< -Methods- >>"

#Region "[Id]"
    Public Property Id As Integer?
        Get
            Return _Id
        End Get
        Set(value As Integer?)
            _Id = value
        End Set
    End Property
#End Region

#Region "[OwnerId]"
    Public Property OwnerId As Integer?
        Get
            Return _OwnerId
        End Get
        Set(value As Integer?)
            _OwnerId = value
        End Set
    End Property
#End Region

#Region "[Name]"
    Public Property Name As String
        Get
            Return _Name
        End Get
        Set(value As String)
            _Name = value
        End Set
    End Property
#End Region

#Region "[AccountCloseMotive]"
    Public Property AccountCloseMotive As String
        Get
            Return _AccountCloseMotive
        End Get
        Set(value As String)
            _AccountCloseMotive = value
        End Set
    End Property
#End Region

#Region "[EndDate]"
    Public Property EndDate As Date?
        Get
            Return _EndDate
        End Get
        Set(value As Date?)
            _EndDate = value
        End Set
    End Property
#End Region

#Region "[Description]"
    Public Property Description As String
        Get
            Return _Description
        End Get
        Set(value As String)
            _Description = value
        End Set
    End Property
#End Region

#Region "[Status]"
    Public Property Status As PropertyStatusBE
        Get
            Return _Status
        End Get
        Set(value As PropertyStatusBE)
            _Status = value
        End Set
    End Property
#End Region

#Region "[Type]"
    Public Property Type As PropertyTypeBE
        Get
            Return _Type
        End Get
        Set(value As PropertyTypeBE)
            _Type = value
        End Set
    End Property
#End Region

#Region "[Direction]"
    Public Property Direction As String
        Get
            Return _Direction
        End Get
        Set(value As String)
            _Direction = value
        End Set
    End Property
#End Region

#Region "[City]"
    Public Property City As CityBE
        Get
            Return _City
        End Get
        Set(value As CityBE)
            _City = value
        End Set
    End Property
#End Region

#Region "[Province]"
    Public Property Province As ProvinceBE
        Get
            Return _Province
        End Get
        Set(value As ProvinceBE)
            _Province = value
        End Set
    End Property
#End Region

#Region "[Country]"
    Public Property Country As CountryBE
        Get
            Return _Country
        End Get
        Set(value As CountryBE)
            _Country = value
        End Set
    End Property
#End Region

#Region "[Observations]"
    Public Property Observations As String
        Get
            Return _Observations
        End Get
        Set(value As String)
            _Observations = value
        End Set
    End Property
#End Region

#Region "[IdContract]"
    Public Property IdContract As Integer?
        Get
            Return _IdContract
        End Get
        Set(value As Integer?)
            _IdContract = value
        End Set
    End Property
#End Region

#Region "[SecundaryImages]"
    Public Property SecundaryImages As List(Of ImagesPerPropertyBE)
        Get
            Return _SecundaryImages
        End Get
        Set(value As List(Of ImagesPerPropertyBE))
            _SecundaryImages = value
        End Set
    End Property
#End Region

#Region "[MainImage]"
    Public Property MainImage As String
        Get
            Return _MainImage
        End Get
        Set(value As String)
            _MainImage = value
        End Set
    End Property
#End Region

#Region "[Services]"
    Public Property Services As List(Of ServicesBE)
        Get
            Return _Services
        End Get
        Set(value As List(Of ServicesBE))
            _Services = value
        End Set
    End Property
#End Region

#End Region

End Class
